﻿using DapperExtensions;

/// <summary>
/// 基本信息表Models即ListId自增长的 都继承此类
/// </summary>
namespace Think9.Models
{
    public class MainTB2Entity
    {
        /// <summary>
        /// 主键 来源于flowrunlist
        /// </summary>
        //[DapperExtensions.Key(true)]
        public int ListId { get; set; }

        /// <summary>
        /// 0未锁定1已锁定
        /// </summary>
        [Computed]
        public string isLock { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Computed]
        public string BeginTime { get; set; }

        /// <summary>
        /// 创建用户
        /// </summary>
        [Computed]
        public string BeginUser { get; set; }

        /// <summary>
        /// 创建用户所在部门
        /// </summary>
        [Computed]
        public string BeginDept { get; set; }

        /// <summary>
        /// 所有的上级单位(部门)编码通过.相连的字符
        /// </summary>
        [Computed]
        public string BeginDeptStr { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [Computed]
        public string RunName { get; set; }

        /// <summary>
        /// 公共附件id
        /// </summary>
        [Computed]
        public string AttachmentId { get; set; }
    }
}